package com.smartcruise.util.network.callBack;

import com.smartcruise.util.network.netUtils.Result;

/**
 * Created by FengChaoQun
 * on 2018/2/5 0005
 * 网络操作基础的回调
 */

public interface BaseCallBack {

    /**
     * description:操作成功
     */

    void onSuccess(Result result);

    /**
     * description:操作失败
     */

    void onFail(Result result);

    /**
     * description:操作异常
     */

    void onError(Throwable e);

}
